
<!DOCTYPE HTML>
<html lang="" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>Zookeeper · GitBook</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        
        
        
    
    <link rel="stylesheet" href="../../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="../aboutLinux/about.html" />
    
    
    <link rel="prev" href="../redis/about.html" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="Type to search" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="../../">
            
                <a href="../../">
            
                    
                    READMI
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="../design/design_principle.html">
            
                <a href="../design/design_principle.html">
            
                    
                    设计原则
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="../redis/about.html">
            
                <a href="../redis/about.html">
            
                    
                    Redis
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="1.4" data-path="about.html">
            
                <a href="about.html">
            
                    
                    Zookeeper
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5" data-path="../aboutLinux/about.html">
            
                <a href="../aboutLinux/about.html">
            
                    
                    Linux
            
                </a>
            

            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            Published with GitBook
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="../.." >Zookeeper</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h1 id="zookeeper">zookeeper</h1>
<h3 id="&#x4ECB;&#x7ECD;">&#x4ECB;&#x7ECD;</h3>
<p>&#x5206;&#x5E03;&#x5F0F;&#x534F;&#x8C03;&#x670D;&#x52A1;</p>
<p>leader&#x6062;&#x590D;&#x65F6;&#x95F4;&#x6781;&#x77ED;&#xFF0C;&#x53EA;&#x9700;&#x8981;200&#x6BEB;&#x79D2;&#xFF1B;&#x6240;&#x4EE5;zookeeper&#x662F;&#x53CA;&#x5176;&#x9AD8;&#x53EF;&#x7528;&#x670D;&#x52A1;&#xFF1B;</p>
<p>&#x6518;&#x5176;&#x5916;&#x5FC5;&#x5148;&#x5B89;&#x5176;&#x5185;</p>
<p>&#x8282;&#x70B9;&#x5B58;&#x50A8;</p>
<h3 id="&#x6269;&#x5C55;&#x6027;&#xFF1A;">&#x6269;&#x5C55;&#x6027;&#xFF1A;</h3>
<p>Leader&#xFF1A;&#x4E3B;&#xFF0C;&#x8D1F;&#x8D23;&#x5199;&#x64CD;&#x4F5C;</p>
<p>Follower&#xFF1A;&#x4ECE;&#xFF0C;&#x53EF;&#x4EE5;&#x9009;&#x4E3E;&#x51FA;leader</p>
<p>Observer&#xFF1A;&#x4ECE;&#xFF0C;&#x4E0D;&#x53EF;&#x53C2;&#x4E0E;&#x9009;&#x4E3E;</p>
<p>&#x90E8;&#x7F72;&#x53EF;&#x90E8;&#x7F72;&#x5C11;&#x4E00;&#x70B9;&#x7684;Follower&#x8282;&#x70B9;&#xFF0C;&#x8FD9;&#x6837;&#x53EF;&#x4EE5;&#x5FEB;&#x901F;&#x7684;&#x9009;&#x51FA;leader&#x8282;&#x70B9;&#xFF1B;</p>
<h3 id="&#x53EF;&#x9760;&#x6027;&#xFF1A;">&#x53EF;&#x9760;&#x6027;&#xFF1A;</h3>
<p>&#x5FEB;&#x901F;&#x6062;&#x590D;Leader</p>
<p>Paxos&#x7B97;&#x6CD5;</p>
<p>&#x5206;&#x5E03;&#x5F0F;&#x6700;&#x7EC8;&#x4E00;&#x81F4;&#x6027;&#x7B97;&#x6CD5;&#xFF1B;</p>
<p>leader&#x53D1;&#x51FA;&#x589E;&#x5220;&#x6539;&#x64CD;&#x4F5C;&#xFF0C;&#x6240;&#x6709;&#x8282;&#x70B9;&#x7968;&#x4E3E;&#x8FC7;&#x534A;&#x540E;&#x7EDF;&#x4E00;&#x64CD;&#x4F5C;&#x5E76;&#x5E7F;&#x64AD;&#x5230;&#x6BCF;&#x4E2A;&#x8282;&#x70B9;&#x5B58;&#x50A8;&#x5230;&#x672C;&#x5730;&#x6570;&#x636E;&#xFF1B;</p>
<p>follower&#x4E0D;&#x5177;&#x6709;&#x589E;&#x5220;&#x6539;&#x64CD;&#x4F5C;&#x6743;&#x9650;&#xFF0C;&#x9700;&#x8981;&#x8FDE;&#x63A5;&#x5230;leader&#x8282;&#x70B9;&#xFF0C;leader&#x8282;&#x70B9;&#x518D;&#x53D1;&#x9001;&#x63D0;&#x8BAE;&#xFF1B;</p>
<p>ZAB</p>
<p>&#x539F;&#x5B50;&#x5E7F;&#x64AD;&#x534F;&#x8BAE;</p>
<p>&#x4F5C;&#x7528;&#x5728;&#x53EF;&#x7528;&#x72B6;&#x6001;&#xFF1B;&#x96C6;&#x7FA4;&#x6709;leader&#x72B6;&#x6001;&#xFF1B;</p>

                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="../redis/about.html" class="navigation navigation-prev " aria-label="Previous page: Redis">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="../aboutLinux/about.html" class="navigation navigation-next " aria-label="Next page: Linux">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"Zookeeper","level":"1.4","depth":1,"next":{"title":"Linux","level":"1.5","depth":1,"path":"post/aboutLinux/about.md","ref":"post/aboutLinux/about.md","articles":[]},"previous":{"title":"Redis","level":"1.3","depth":1,"path":"post/redis/about.md","ref":"post/redis/about.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":[],"pluginsConfig":{"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"post/zookeeper/about.md","mtime":"2020-08-06T01:04:18.386Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2020-10-29T08:21:27.014Z"},"basePath":"../..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../../gitbook/gitbook.js"></script>
    <script src="../../gitbook/theme.js"></script>
    
        
        <script src="../../gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

